package com.moss.common.util;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.redis.connection.DataType;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;
import org.springframework.util.CollectionUtils;

import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;

/**
 * @author cgx
 * @Date 2021/9/7 21:54
 */
@Component
public final class RedisUtil2 {



    private final RedisTemplate<String,Object> redisTemplate;

    public RedisUtil2(@Qualifier("Template") RedisTemplate<String, Object> redisTemplate) {
        this.redisTemplate = redisTemplate;
    }
}


